/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package LDVH.factories;

import LDVH.generation.html.Generateur;
import LDVH.graph.analyse.Analyseur;
import LDVH.itf.IAnalyseGraphe;
import LDVH.itf.IGenHTML;
import LDVH.itf.IGenImprimable;
import LDVH.itf.ILivre;
import LDVH.itf.ILoad;
import LDVH.itf.ISave;
import LDVH.load.Loader;
import LDVH.save.Saver;

/**
 *
 * @author daniele
 */
public class OutilsFactory {
    
    public static ILoad createCLoad() {
        return new Loader();
    }
    
    public static ISave createCSave(ILivre livre) {
        return new Saver(livre);
    }
    
    public static IAnalyseGraphe createCAnalyseGraphe(ILivre livre) {
        return new Analyseur(livre);
    }
    
    public static IGenHTML createCGenHTML(ILivre livre) {
        return new Generateur();
    }

    public static IGenImprimable createCGenImprimable(ILivre livre) {
        return new LDVH.generation.imprimable.Generateur();
    }
}
